<!--
 * @Descripttion: 
 * @Author: voanit
 * @Date: 2022-04-01 18:03:13
 * @LastEditors: voanit
 * @LastEditTime: 2022-04-01 18:12:12
-->
<template>
  <div class="son">
    御剑乘风来,除魔天地间!===son=====
    <h1>{{ father }}</h1>
    <input @click="btn" type="button" value="son" />
  </div>
</template>

<script>
export default {
  name: "",
  props: {
    father: {
      type: [String, Number],
    },
  },
  data() {
    return {};
  },
  created() {},
  computed: {},
  methods: {
    btn() {
      // this.father = "fffff";
      this.$emit("update:father", "fffff");
    },
  },
};
</script>
<style lang="scss" scoped>
.son {
  background-color: pink;
}
</style>
